package repository;

import java.sql.SQLException;
import java.util.List;

import models.Endereco;

public interface IRepositorioEndereco {

	boolean inserirEndereco(Endereco endereco) throws SQLException;
	
	boolean removerEndereco(Endereco endereco) throws SQLException;
	
	boolean atualizarEndereco(Endereco endereco) throws SQLException;
	
	List<Endereco> listarEndereco() throws SQLException;
	
	List<Endereco> buscarEndereco(String chave) throws SQLException;
	
	Endereco retornaEndereco(int id) throws SQLException;
}
